package com.ljc.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Notification {
    private int id;
    private String title;
    private int type;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private String author;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdTime;
    private int admitId;

    private int pageNum;
    private int pageSize;

}
